home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- set maxvol to 255
- set vol to maxvol
- repeat while vol > 0
- set the volume of sound 1 to vol
- set delaytime to the ticks + 2
- repeat while delaytime > the ticks
- end repeat
- if vol > 50 then
- set vol to vol - (maxvol / 50)
- next repeat
- end if
- set vol to vol - 3
- end repeat
- sound stop 1
- set the volume of sound 1 to maxvol
- end
-